package ooday01;

public class CarExercise01 {
    String name;
    String color;
    double price;
    CarExercise01(){

    }
    CarExercise01(String name, String color, double price){
        this.name = name;
        this.color = color;
        this.price = price;
    }

    void start(){
        System.out.println(name+"牌子的"+color+"颜色的"+price+"元钱得的车启动了");
    }
    void stop(){
        System.out.println(name+"牌子的"+color+"颜色的"+price+"元钱得的车停下了");
    }
}
